﻿package com.example.demo.dao
import com.example.demo.dbmodels.*
import me.liuwj.ktorm.schema.*
import java.math.BigDecimal
object VJzrInpatientFeeRecordDao : Table<VJzrInpatientFeeRecord>("v_jzr_inpatient_fee_record"){
	var PATIENT_ID = varchar("PATIENT_ID").bindTo { it.PATIENT_ID }
	var SERIES = decimal("SERIES").bindTo { it.SERIES }
	var ADMISSION_ID = varchar("ADMISSION_ID").bindTo { it.ADMISSION_ID }
	var FEE_TYPE_CODE = varchar("FEE_TYPE_CODE").bindTo { it.FEE_TYPE_CODE }
	var FEE_TYPE = varchar("FEE_TYPE").bindTo { it.FEE_TYPE }
	var FEE_CODE = varchar("FEE_CODE").bindTo { it.FEE_CODE }
	var FEE_NAME = varchar("FEE_NAME").bindTo { it.FEE_NAME }
	var FEE_DATE = datetime("FEE_DATE").bindTo { it.FEE_DATE }
	var FEE_VALUE = decimal("FEE_VALUE").bindTo { it.FEE_VALUE }
	var INV_NO = varchar("INV_NO").bindTo { it.INV_NO }
	var FEE_DETAIL = varchar("FEE_DETAIL").bindTo { it.FEE_DETAIL }
	var BILL_QTY = decimal("BILL_QTY").bindTo { it.BILL_QTY }
	var UNIT = varchar("UNIT").bindTo { it.UNIT }
	var UNIT_PRICE = decimal("UNIT_PRICE").bindTo { it.UNIT_PRICE }
	var DISC_PRICE = decimal("DISC_PRICE").bindTo { it.DISC_PRICE }
	var INS_PRICE = decimal("INS_PRICE").bindTo { it.INS_PRICE }
	var PAT_PRICE = decimal("PAT_PRICE").bindTo { it.PAT_PRICE }
	var DISC_AMOUNT = decimal("DISC_AMOUNT").bindTo { it.DISC_AMOUNT }
	var PAYOR_AMOUNT = decimal("PAYOR_AMOUNT").bindTo { it.PAYOR_AMOUNT }
	var PAT_AMOUNT = decimal("PAT_AMOUNT").bindTo { it.PAT_AMOUNT }
	var TOTAL_AMOUNT = decimal("TOTAL_AMOUNT").bindTo { it.TOTAL_AMOUNT }
	var STATUS = decimal("STATUS").bindTo { it.STATUS }
	var REMARK = varchar("REMARK").bindTo { it.REMARK }
}
